package play.scope

class Person {
    lateinit var name: String
    var age: Int = 0
    var about: String? = null
    override fun toString(): String {
        return "name:$name,age:$age,about:$about"
    }
}


fun main() {
    val jake = Person()
    val stringDescription = jake.apply {
        name = "Jake"
        age = 30
        about = "Android developer"
    }.toString()
    println(stringDescription)
}

